package com.shushan.pages.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: OpenVipBean
 * @Desciption: //TODO
 * @author: yichaohua
 * @date: 2018-07-21
 */
public class OpenVipBean extends NetBaseBean {

    public String activity_name;
    public int cost_price;
    public int favorable_price;
    public int vip_time;
    public int state;

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        activity_name = jsonObject.optString("activity_name","");
        cost_price = jsonObject.optInt("cost_price",0);
        favorable_price = jsonObject.optInt("favorable_price",0);
        vip_time = jsonObject.optInt("vip_time",0);
        state = jsonObject.optInt("state",0);
    }
}
